package com.dragon.modules.yuegou.service.points;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.modules.yuegou.entity.points.RulesEntity;
import com.dragon.modules.yuegou.model.points.Rules;

/**
 * 小票兑积分规则表 服务接口
 *
 * @author pbuilder generated
 * @date 2019-04-02 17:40:47
 * @version 2.0
 */
public interface RulesService extends IService<RulesEntity> {

    /**
     * 根据商圈id查询兑换规则
     * @param busdId
     * @return
     */
    Rules getByBusdId(String busdId);

    /**
     * 保存小票兑积分规则
     * @param rules
     */
    void saveRules(Rules rules);

}